import 'package:bilibili_getx_project/ui/pages/main/main_binding.dart';
import 'package:bilibili_getx_project/ui/pages/publish/publish_view.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import '../../ui/pages/functions/video_player_example/video_player_example_binding.dart';
import '../../ui/pages/functions/video_player_example/video_player_example_view.dart';
import '../../ui/pages/main/main_view.dart';
import '../../ui/pages/publish/publish_binding.dart';

class BilibiliRouter {
  static String initialRoute = MainView.routeName;
  static List<GetPage> getPages = [
    GetPage(
      name: MainView.routeName,
      page: () => MainView(),
      binding: MainBinding(),
    ),
    GetPage(
      name: VideoPlayerExampleView.routeName,
      page: () => VideoPlayerExampleView(),
      binding: VideoPlayerExampleBinding(),
    ),
    GetPage(
      name: PublishView.routeName,
      page: () => PublishView(),
      binding: PublishBinding(),
    ),
  ];
}